﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace famails.dto
{
    /// <summary>
    /// Summary description for EventDTO
    /// </summary>
    public class EventDTO
    {

        public int EventId { get; set; }
        public string Subject { get; set; }
        public string Voucher { get; set; }
        public string Subscribe { get; set; }
        public string Body { get; set; }
        public int ConfigId { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public string ResponeUrl { get; set; }
        public string ConfirmContent { get; set; }
        public string ConfirmFlag { get; set; }
        public int UserId { get; set; }
        public int GroupId { get; set; }
        public EventDTO()
        {
        }
        public EventDTO(string subject, string voucher, string subscribe, string body,
            int configId, DateTime startDate, DateTime endDate, string responeUrl,
            string confirmContent, string confirmFlag, int userId, int groupId)
        {
            this.Subject = subject;
            this.Voucher = voucher;
            this.Subscribe = subscribe;
            this.Body = body;
            this.ConfigId = configId;
            this.StartDate = startDate;
            this.EndDate = endDate;
            this.ResponeUrl = responeUrl;
            this.ConfirmContent = confirmContent;
            this.ConfirmFlag = confirmFlag;
            this.UserId = userId;
            this.GroupId = groupId;
        }

    }
}